macOS: Keep system buttons hidden #228
Conversation
|
Thanks! |
|
Sorry for the late reply! I've been to hospital last week and have no access to PC/network. And I have some discussions with the other main maintainer, sadly both of us have no ability to review macOS code, so we can't decide what to do with this PR. Maybe you can test this PR in more environments to make sure no regressions are introduced? |
Yes, I'm currently testing these in a particular scenario on macOS where I want to hide these buttons consistently. So far it's working fine for me and my testers |
This PR ensures that macOS system buttons stay hidden when the user sets the following:
AppKit restores system button visibility automatically when switching context like full-screen or opening dialogs. So we add an observer on the button 'hidden' state to restore the proper visibility when required.